﻿@model KacincisinProject.ViewModels.SoruKategorileriViewModel
@{
    ViewBag.Title = "SoruKategorisiSil";
}

<br />
<br />
@using (Html.BeginForm("SoruKategorisiSil", "SoruKategori", FormMethod.Post, null))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Soru Kategorisi Sil</legend>
        <div class="control-group">
            <label class="control-label">
                @Model.SoruKategoriAdi adlı kategoriyi silmek istediğinize emin misiniz?
                @Html.HiddenFor(model => model.SoruKategoriId)
                @Html.HiddenFor(model => model.SoruKategoriAdi)
            </label>
        </div>
        <div class="control-group">
            <div class="controls">
                <button type="button" class="btn btn-danger" onclick="javascript:window.location.href = '@Url.Action("SoruKategorisiListele")';">Hayır</button>
                <button type="submit" class="btn btn-success">Evet</button>
            </div>
        </div>
        <div class="control-group">
            <div class="controls">
                <button type="button" class="btn" onclick="javascript:window.location.href = '@Url.Action("SoruKategorisiListele")';"><i class="icon-arrow-left"></i> Listeye Geri Dön</button>
            </div>
        </div>
    </fieldset>
}
@section scripts
{
    @Scripts.Render("~/bundles/jqueryval")
}